package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Data
public class Patient extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 送检单位名称 */
    @Excel(name = "送检单位名称")
    private String sjdwName;

    /** 受检人姓名 */
    @Excel(name = "受检人姓名")
    private String patientName;

    /** 受检人性别 */
    @Excel(name = "受检人性别")
    private String patientSex;

    /** 受检人年龄 */
    @Excel(name = "受检人年龄")
    private String patientAge;

    /** 受检人染色体 */
    @Excel(name = "受检人染色体")
    private String patientChromosome;

    /** 受检人核型 */
    @Excel(name = "受检人核型")
    private String patientKaryotype;

    /** 受检人手机号 */
    @Excel(name = "受检人手机号")
    private String patientPhone;

    /** 配偶姓名 */
    @Excel(name = "配偶姓名")
    private String mateName;

    /** 配偶性别 */
    @Excel(name = "配偶性别")
    private String mateSex;

    /** 配偶年龄 */
    @Excel(name = "配偶年龄")
    private String mateAge;

    /** 配偶染色体 */
    @Excel(name = "配偶染色体")
    private String mateChromosome;

    /** 配偶核型 */
    @Excel(name = "配偶核型")
    private String mateKaryotype;

    /** 女方母亲核型 */
    @Excel(name = "女方母亲核型")
    private String karyotypeWMo;

    /** 女方父亲核型 */
    @Excel(name = "女方父亲核型")
    private String karyotypeWFa;

    /** 男方母亲核型 */
    @Excel(name = "男方母亲核型")
    private String karyotypeMMo;

    /** 男方父亲核型 */
    @Excel(name = "男方父亲核型")
    private String karyotypeMFa;

    /** 删除状态，0-正常，1-删除（停用） */
    @Excel(name = "删除状态，0-正常，1-删除", readConverterExp = "停=用")
    private Long isDelete;

    /** 基因 */
    @Excel(name = "基因")
    private String gene;

    /** 遗传模式 */
    @Excel(name = "遗传模式")
    private String ycms;

    /** 突变位点cHGVS */
    @Excel(name = "突变位点cHGVS")
    private String chgvs;

    /** 培养液采集方案 */
    @Excel(name = "培养液采集方案")
    private String pyySolution;

    /** 受精方式 */
    @Excel(name = "受精方式")
    private String sjfs;

    /** 胚胎信息 */
    @Excel(name = "胚胎信息")
    private String ptInfo;

    private Long outId;
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sjdwName", getSjdwName())
                .append("patientName", getPatientName())
                .append("patientSex", getPatientSex())
                .append("patientAge", getPatientAge())
                .append("patientChromosome", getPatientChromosome())
                .append("patientKaryotype", getPatientKaryotype())
                .append("patientPhone", getPatientPhone())
                .append("mateName", getMateName())
                .append("mateSex", getMateSex())
                .append("mateAge", getMateAge())
                .append("mateChromosome", getMateChromosome())
                .append("mateKaryotype", getMateKaryotype())
                .append("karyotypeWMo", getKaryotypeWMo())
                .append("karyotypeWFa", getKaryotypeWFa())
                .append("karyotypeMMo", getKaryotypeMMo())
                .append("karyotypeMFa", getKaryotypeMFa())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("isDelete", getIsDelete())
                .append("gene", getGene())
                .append("ycms", getYcms())
                .append("chgvs", getChgvs())
                .append("pyySolution", getPyySolution())
                .append("sjfs", getSjfs())
                .append("ptInfo", getPtInfo())
                .toString();
    }
}
